package com.senior.english.controller;

import org.springframework.ui.ModelMap;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Handles requests for the application home page.
 */
@Controller
public class DefaultController
{

    @RequestMapping( value = "/", method = RequestMethod.GET )
    public String index( ModelMap map )
    {
        return "home";
    }
}